package com.fan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fan.entity.PlayHistory;
import com.sixth.until.CommonResult;

/**
 * @program: self-tui-education
 * @description:
 * @author: 老范
 * @create: 2022-05-08 18:43
 **/

public interface PlayHistoryService extends IService<PlayHistory> {
    //    查询播放信息
    CommonResult queryPlayHistory(Integer page, Integer limit, String HuiYuanId, PlayHistory playHistory);
    //    根据课程id和会员id插入播放信息
    CommonResult insertPlayHistoryByCourseId(String vedeoId, String userId);
    //    更新时间
    CommonResult updatePlayHistory(String userId, String vedeoId);
}
